![]() |
PBGetEOFSync |
||||
Header: | Files.h | Carbon status: | Supported | |
Determines the current logical end-of-file of an open file.
OSErr PBGetEOFSync ( ParmBlkPtr paramBlock );
A pointer to a basic File Manager parameter block.
A result code.
The relevant fields of the parameter block are:
On input, a pointer to a completion routine.
On output, the result code of the function.
On input, a file reference number for the file whose logical end you wish to determine.
On output, the logical end-of-file. Because ioMisc is of type Ptr, you’ll need to coerce the value to type LongInt to interpret the value correctly.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)